Platform Explorer / Nuxeo Platform 2021.49

Component org.nuxeo.web.ui.request.contrib

Requirements

Resolution Order

939
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.web.ui.request.contrib">

  <require>org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService.defaultContrib</require>

  <extension target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService"
    point="filterConfig">
    <filterConfig name="cached_ui_static" cached="true" cacheTime="31536000">
      <!-- if url contains a timestamp param: approximately one year -->
      <pattern>${org.nuxeo.ecm.contextPath}/ui/.*\\?.*ts=.+</pattern>
    </filterConfig>
    <filterConfig name="ui_static" cached="true" cacheTime="86400">
      <!-- For other web ui resources: trade off between agressive caching and HF applying within 24 hours -->
      <!-- Exclude JS and HTML files due to: https://jira.nuxeo.com/browse/NXP-25595 -->
      <pattern>${org.nuxeo.ecm.contextPath}/ui/.*\.(?!(html|js|jsp)$).*</pattern>
    </filterConfig>
  </extension>

</component>